@layout("/common/_form.html",{js:["/assets/manager/flowStoreCity/flowStoreCity_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="flowStoreCityForm" lay-filter="flowStoreCityForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="storeCityId" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">服务点名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="storeName" name="storeName" placeholder="请输入服务点名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否默认</label>
                        <div class="layui-input-block">
                            <select id="isDetault" name="isDetault">
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">地图检索</label>
                        <div class="layui-input-block">
                            <input type="text" id="suggestId" name="suggestId" placeholder="请搜索具体地址" class="layui-input">
                            <div id="l-map" style="height: 400px;"></div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">经纬度<span style="color: red;">*</span></label>
                        <div class="layui-input-inline" style="width: 150px;">
                            <input type="text" name="longitude" id="longitude" placeholder="" autocomplete="off" class="layui-input" lay-verify="required" required>
                        </div>
                        <div class="layui-form-mid">-</div>
                        <div class="layui-input-inline" style="width: 150px;">
                            <input type="text" name="latitude" id="latitude" placeholder="" autocomplete="off" class="layui-input" lay-verify="required" required>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">所在城市<span style="color: red;">*</span></label>
                        <div class="layui-input-inline" style="width: 150px;">
                            <input type="text" name="province" id="province" placeholder="省" autocomplete="off" class="layui-input" lay-verify="required" required>
                        </div>
                        <div class="layui-form-mid">-</div>
                        <div class="layui-input-inline" style="width: 150px;">
                            <input type="text" name="city" id="city" placeholder="市" autocomplete="off" class="layui-input" lay-verify="required" required>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">详细地址<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="address" name="address" placeholder="请输入详细地址" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">直营公司<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="direct" name="direct" placeholder="是否为直营" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">折扣<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="discount" name="discount" placeholder="折扣" type="text" class="layui-input"  required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">一级分销同城提点<span style="color: #ff0000;">*</span></label>
                        <div class="layui-input-block">
                            <input id="oneAuthorityDiscount" name="oneAuthorityDiscount" placeholder="折扣" type="text" class="layui-input"  required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">一级分销跨市提点<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="oneAuthorityCityDiscount" name="oneAuthorityCityDiscount" placeholder="折扣" type="text" class="layui-input"  required/>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>
<script type="text/javascript"
        src="https://webapi.amap.com/maps?v=1.4.15&key=58535a44909d55c02d6e732c3524ae27&plugin=AMap.Autocomplete,AMap.PlaceSearch,AMap.Geocoder"></script>
@}